package com.wbsxch.blog.service.impl.security;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wbsxch.blog.entity.Permission;
import com.wbsxch.blog.mapper.PermissionMapper;
import com.wbsxch.blog.service.security.PermissionService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper,Permission> implements PermissionService {

    @Override
    public List<Permission> selectPermissionListByUserId(Integer userId) {
        return baseMapper.selectPermissionListByUserId(userId);
    }
}
